From: Florian Müllner Date: Thu, 4 May 2017 22:27:32 +0000 (+0200) Subject: entry: Fix *-icon-clicked handler X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~356 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=94a0ae1ec38392e119bc7e7be0b1601caa4369cd;p=gnome-shell.git entry: Fix *-icon-clicked handler Commit ffe4eaf00d8 broke the handler by fetching the instance private from the wrong actor - as we don't use the ::primary-icon-clicked signal, and the ::secondary-icon-clicked signal still works by accident, nobody noticed until now ... https://bugzilla.gnome.org/show_bug.cgi?id=782190 --- diff --git a/src/st/st-entry.c b/src/st/st-entry.c index 2b31c6019..264f95657 100644 --- a/src/st/st-entry.c +++ b/src/st/st-entry.c @@ -1142,7 +1142,7 @@ _st_entry_icon_press_cb (ClutterActor *actor, ClutterButtonEvent *event, StEntry *entry) { - StEntryPrivate *priv = ST_ENTRY_PRIV (actor); + StEntryPrivate *priv = ST_ENTRY_PRIV (entry); if (actor == priv->primary_icon) g_signal_emit (entry, entry_signals[PRIMARY_ICON_CLICKED], 0);